package com.project.service;
/**
 *	 教练对象的业务层接口
 * @author Administrator
 *
 */

import java.util.List;

import com.project.bean.CoachBean;
import com.project.bean.CoachDTO;
import com.project.bean.PageBean;


public interface ICoachService {	

	//新增教练
	public int addCoach(Integer cUId);
	//完善教练的个人信息
	public int completeInformation(CoachBean coachBean);
	//显示教练的详细信息
	public CoachBean findCoachById(Integer cUId);
	//查询所有的教练 
	public List<CoachBean> findAllCoachs();
	//分页显示所有的教练
	public PageBean findAllCoachsByPage(Integer page,Integer size);
	//按条件搜索教练   分页显示
	public PageBean findConditionCoachsByPage(CoachDTO coachDTO,Integer page,Integer size);
   
	
	//注册user的时候在教练表中添加一个相应的用户
	public	int addCoachCUId(int cuid);
		
	//完善教练信息
	public int updateCoachtMessage(String sRealname,int cAge,int cGender,int cSchool,int id);
	
	//更改认证状态
	int updateQuality(int quality, int cUId);
}
